package bingo.codeweaver.core.template;

import java.util.Properties;

import bingo.codeweaver.core.utils.PropertiesHelper;

/**
 * Mar 9, 2009 10:07:01 AM TemplateLibrary.java
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:内置模板库
 * ChangeLog:
 */
public class TemplateLibrary {
	public static Properties library = PropertiesHelper.loadProperties("TemplateLibrary.xml", TemplateLibrary.class);
	
	
	private TemplateLibrary() {
	}


	/**
	 * 获取模板
	 * @param key
	 * @return
	 */
	public static String getTemplate(String key){
		return library.getProperty(key,key);
	}
	
	
	

}
